package com.RedRiver.hospitalsystem.finance_service.client;

import com.RedRiver.hospitalsystem.finance_service.client.param.PaymentInfoListClient;
import com.RedRiver.hospitalsystem.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(contextId = "PaymentClient",name="finance-service",path="financeService/payment")
public interface PaymentClient {

    @PostMapping("/findPaymentAll")
    Result<PaymentInfoListClient> findPaymentAll();
}
